package net.esj.basic.dao.ann.criterion;

public class FromCriterion implements Criterion {
	
	private TableCriterion table;
	
	public FromCriterion(TableCriterion table) {
		super();
		this.table = table;
	}

	@Override
	public String toSql() {
		return table.getValue().getTableName()+" "+table.getAlias();
	}

}
